﻿<?xml version="1.0" encoding="utf-8" ?>
<mvc:insert name="Layout" xmlns:mvc="http://www.eos.de">
  <mvc:replace name="Content">
    <h2>#{News}</h2>
    
    <div>#{NewsSubtitle}</div>

    <div class="paging bordered_bottom">
      <table cellpadding="0" cellspacing="0" width="100%">
        <tr>
          <td width="8">
            <a mvc:id="firstPageLink" href="">
              <img src="~/Templates/Images/First.png" alt="#{FirstPage}"/>
            </a>
          </td>
          <td width="8">
            <a mvc:id="prevPageLink" href="">
              <img src="~/Templates/Images/Previous.png" alt="#{PreviousPage}"/>
            </a>
          </td>
          <td align="center">
            <span>#{pageInfo}</span>
          </td>
          <td width="8">
            <a mvc:id="nextPageLink" href="">
              <img src="~/Templates/Images/Next.png" alt="#{NextPage}"/>
            </a>
          </td>
          <td width="8">
            <a mvc:id="lastPageLink" href="">
              <img src="~/Templates/Images/Last.png" alt="#{LastPage}"/>
            </a>
          </td>
        </tr>
      </table>
    </div>
    
    <div mvc:id="linkItem">
      <h3>#{title}</h3>
      #{Source}: <a href="link" mvc:id="link">link</a>
      
      <p>#{text}</p>
      
      <p class="small bordered_top">
        #{CreatedAt} <span>#{created}</span> von <span>#{editor}</span>, #{ModifiedAt} <span>#{modified}</span>
      </p>
    </div>

    <div class="paging bordered_bottom">
      <table cellpadding="0" cellspacing="0" width="100%">
        <tr>
          <td width="8">
            <a mvc:id="firstPageLink" href="">
              <img src="~/Templates/Images/First.png" alt="Erste Seite"/>
            </a>
          </td>
          <td width="8">
            <a mvc:id="prevPageLink" href="">
              <img src="~/Templates/Images/Previous.png" alt="Vorherige Seite"/>
            </a>
          </td>
          <td align="center">
            <span>#{pageInfo}</span>
          </td>
          <td width="8">
            <a mvc:id="nextPageLink" href="">
              <img src="~/Templates/Images/Next.png" alt="Nächste Seite"/>
            </a>
          </td>
          <td width="8">
            <a mvc:id="lastPageLink" href="">
              <img src="~/Templates/Images/Last.png" alt="Letzte Seite"/>
            </a>
          </td>
        </tr>
      </table>
    </div>
    
    <br/>

    <div mvc:id="formBox">
      <h3>#{CreateNews}</h3>
      
      <form mvc:id="newRecentnessForm" action="">
        <table width="100%">
          <colgroup>
            <col width="30%" />
            <col width="70%" />
          </colgroup>
          <tr>
            <td>
              <a href="javascript: void(0);" onclick="Change('titleInfo')">
                <img class="info_icon" src="~/Templates/Images/Info.png" alt="InfoIcon" />
              </a>
              <label>#{Title} *</label>
              <span class="info_tooltip" id="titleInfo">#{TitleDescription}</span>
            </td>
            <td>
              <input class="form_text" type="text" name="titleInput"/>
            </td>
          </tr>
          <tr>
            <td>
              <a href="javascript: void(0);" onclick="Change('sourceInfo')">
                <img class="info_icon" src="~/Templates/Images/Info.png" alt="InfoIcon" />
              </a>
              <label>#{Source} *</label>
              <span class="info_tooltip" id="sourceInfo">#{SourceDescription}</span>
            </td>
            <td>
              <input class="form_text" type="text" name="sourceInput"/>
            </td>
          </tr>
          <tr>
            <td>
              <a href="javascript: void(0);" onclick="Change('textInfo')">
                <img class="info_icon" src="~/Templates/Images/Info.png" alt="InfoIcon" />
              </a>
              <label>#{Message} *</label>
              <span class="info_tooltip" id="textInfo">#{MessageDescription}</span>
            </td>
            <td>
              <textarea class="form_text" name="textInput" rows="5" cols="30"></textarea>
            </td>
          </tr>
          <tr>
            <td />
            <td>
              <input class="form_submit" type="submit" value="Erstellen" />
            </td>
          </tr>
        </table>
        <div style="font-size: 10px;">#{ImportantFields}</div>
      </form>
    </div>

    <div class="description">
      #{NewsPageDescription}
    </div>
    <div>
      <a href="~/NewsPageDescription.html" target="_blank">#{NewsPageDescriptionLink}</a>
    </div>
  </mvc:replace>
</mvc:insert>